Fully Qualified Name: | Laminas\I18n\Translator\TranslatorServiceFactory |
Implements: | FactoryInterface |
Translator.
Name | Description | Defined By |
---|---|---|
__invoke() | Create a Translator instance. | TranslatorServiceFactory |
createService() | laminas-servicemanager v2 factory for creating Translator instance. | TranslatorServiceFactory |
Create a Translator instance.
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | string | |
$options | null|array |
Returns: \Translator
laminas-servicemanager v2 factory for creating Translator instance.
Proxies to __invoke()
.
Parameter Name | Type | Description |
---|---|---|
$serviceLocator | \ServiceLocatorInterface |
Returns: \Translator